//@author A0094701J

//This class handles exceptions. It inherits functionality from 
//the C++ exception class and is configured to provide more 
//specific user feedback.

//The APIs of this class are given below:
//	1. InvalidInputException(string message);
//	2. virtual const char* what() const throw();

#ifndef INVALIDINPUTEXCEPTION_H_
#define INVALIDINPUTEXCEPTION_H_

#include <string>
#include <exception>

#define MESSAGE_INVALID "Invalid: "

using namespace std;

class InvalidInputException : public exception {
private:
	string feedback;

public:
	InvalidInputException(string message);
	virtual const char* what() const throw();

};

#endif
